package com.yuandengta.yomall.order.constant;

/**
 * Rabbit 常规配置 {@link RabbitConstant}
 *
 * @author Kevin
 * @email: 178676392@qq.com
 */
public class RabbitConstant {

    public static final String ORDER_EVENT_EXCHANGE = "order-event-exchange";
    public static final String ORDER_RELEASE_ORDER_QUEUE = "order.release.order.queue";
    public static final String ORDER_DELAY_QUEUE = "order.delay.queue";
    public static final String ORDER_RELEASE_QUEUE_ROUTING_KEY = "order.release.order";
    public static final String ORDER_DELAY_QUEUE_ROUTING_KEY = "order.create.order";
    public static final String ORDER_DELAY_DEAD_LETTER_ROUTING_KEY = "order.release.order";

    public static final String ORDER_RELEASE_OTHER_ROUTING_KEY = "order.release.other";
    public static final String STOCK_RELEASE_QUEUE = "stock.release.stock.queue";
    public static final String STOCK_RELEASE_QUEUE_ROUTING_KEY = "order.release.other.#";

    public static final String ORDER_SECKILL_ORDER_QUEUE = "order.seckill.order.queue";
    public static final String ORDER_SECKILL_ORDER_QUEUE_ROUTING_KEY = "order.seckill.order";

}
